﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FGreen.aspx.cs" Inherits="MaluJg.web.Stats.FGreen" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Style/CSS/css.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../Scripts/jquery.js"></script>

    <script type="text/javascript" src="../Scripts/common.js"></script>
    <script type="text/javascript" src="../DatePicker/WdatePicker.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellspacing="0" cellpadding="0" border="0" class="" width="100%">
            <tr class="TitleBar">
                <td class="MainTitle">
                    <%=Year %>年
                    <asp:Literal runat="server" ID="ltlHeader"></asp:Literal>
                </td>
            </tr>
        </table>
        <table cellspacing="0" cellpadding="0" border="0" class="" width="100%">
            <tr class="ToolBar">
                <td width="200" align="left">
                    &nbsp;&nbsp; 年份：
                    <input type="text" class="WSCL_Input" readonly="readonly" id="iYear" name="iYear"
                        value="<%=Year %>" onclick="WdatePicker({dateFmt:'yyyy',onpicked:pickedFunc})" />
                </td>
                <td width="40" align="left">
                    类型：
                </td>
                <td align="left">
                    <select id="sType" name="sType">
                        <option selected="selected" value="FHuaFei">有机肥</option>
                        <option value="FCold">冷库</option>
                        <option value="FBooth">摊位</option>
                        <option value="FGreen">大棚</option>
                        <option value="FMembrane">银灰膜</option>
                        <option value="FPackage">包装箱</option>
                    </select>
                </td>
                <td class="ToolMenu" align="right">
                    <div class="Normal" oldclass="Normal" style="width: 70px" onmouseover="OverChangeClass(this);"
                        onmouseout="ReturnClass(this)">
                        <a href="javascript:parent.goBack();"><span>
                            <img src="../Images/feedback.gif" alt="返回" /></span><span>返回</span></a>
                    </div>
                </td>
            </tr>
        </table>
        <div id="divWhole" runat="server">
            <table class="MainInfolist" align="center" cellspacing="0" cellpadding="0" width="100%"
                border="0">
                <tbody>
                    <tr class="PageGridHeader">
                        <th width="10%" align="center">
                            序号
                        </th>
                        <th width="25%" align="center">
                            村别/单位
                        </th>
                        <th width="20%" align="center">
                            搭建面积（㎡）
                        </th>
                        <th width="20%" align="center">
                            折合亩数（亩）
                        </th>
                        <th width="15%" align="center">
                            补贴金额（6000元/亩）
                        </th>
                    </tr>
                    <asp:Repeater runat="server" ID="rpWhole">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%# Container.ItemIndex + 1 %>
                                </td>
                                <td>
                                    <a href="FGreen.aspx?year=<%=Year %>&vid=<%#Eval("VillageID") %>">
                                        <%#Eval("VillageName")%></a>
                                </td>
                                <td>
                                    <%#Eval("Squares")%>
                                </td>
                                <td>
                                    <%#Eval("Mues")%>
                                </td>
                                <td>
                                    <%#Eval("Money")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                    <tr>
                        <td colspan="2">
                            合计
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum7"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum8"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum9"></asp:Literal>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div id="divSingle" runat="server">
            <table class="MainInfolist" align="center" cellspacing="0" cellpadding="0" width="100%"
                border="0">
                <tbody>
                    <tr class="PageGridHeader">
                        <th width="13%" align="center">
                            序号
                        </th>
                        <th width="22%" align="center">
                            农户姓名
                        </th>
                        <th width="13%" align="center">
                            合作社编号
                        </th>
                        <th width="13%" align="center">
                            搭建面积（㎡）
                        </th>
                        <th width="13%" align="center">
                            折合亩数（亩）
                        </th>
                        <th width="13%" align="center">
                            补贴金额（6000元/亩）
                        </th>
                    </tr>
                    <asp:Repeater runat="server" ID="rpSingle">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%# Container.ItemIndex + 1 %>
                                </td>
                                <td>
                                    <%#Eval("FamilyName")%>
                                </td>
                                <td>
                                    <%#Eval("BianHao")%>
                                </td>
                                <td>
                                    <%#Eval("Squares")%>
                                </td>
                                <td>
                                    <%#Eval("Mues")%>
                                </td>
                                <td>
                                    <%#Eval("Money")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                    <tr>
                        <td colspan="3">
                            合计
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum1"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum2"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum3"></asp:Literal>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <script type="text/javascript">
    $("#a<%=Year %>").css("color", "red").css("font-weight", "bold");
 
    </script>

    </form>
</body>
</html>
